<div class="main">
	<div class="search">
		<table class="table table-bordered tb">
			<tbody>
				<tr>
					<th>公众号名称</th>
					<td><input id="wKeyword" type="text" class="span6" value="{$_GPC['keyword']}" /></td>
				</tr>
				 <tr class="search-submit">
					 <td colspan="2"><button class="btn btn-default pull-right" onclick="aW.query();"><i class="fa fa-search fa-lg"></i> 搜索</button></td>
				 </tr>
			</tbody>
		</table>
	</div>
	<div class="account">
		<table class="table table-bordered tb">
			<thead>
				<tr>
					<th>公众号码</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				{loop $list $row}
				<tr>
					<td>{$row['name']}</td>
					<td>{if !empty($permission[$row['uniacid']])}<a href="javascript:;" onclick="account.revo('{$row['uniacid']}');">收回管理权限</a>{else}<a href="javascript:;" onclick="account.auth('{$row['uniacid']}');">授权此用户管理</a>{/if}</td>
				</tr>
				{/loop}
			</tbody>
		</table>
		{$pager}
	</div>
</div>